<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          
 <html xmlns="http://www.w3.org/1999/xhtml" 
 	   xmlns:ui="http://java.sun.com/jsf/facelets"
 	   xmlns:f="http://java.sun.com/jsf/core" 
	   xmlns:h="http://java.sun.com/jsf/html"
	   xmlns:t="http://myfaces.apache.org/tomahawk">
 	<body>
 	<!-- common menu for all pages -->
 	<ui:composition >
		<t:panelGrid columns="1" cellspacing="8">
			<t:panelGroup>
				<t:outputText value="Product Search " />
			<t:selectOneMenu value="#{manageProductsBean.searchDropDown}" >
				<f:selectItems value="#{manageProductsBean.items}" />
			</t:selectOneMenu>	
			</t:panelGroup>
				<t:panelGroup>
					<t:inputText label="searchWords" value="#{manageProductsBean.searchWord}" />
					<t:outputText value=" " />
			  	 	<t:commandButton action="#{manageProductsBean.selectSearch}" value="search" />
		  	 	</t:panelGroup>
	  	 	<t:commandLink value="Create Product" action="createProduct" rendered="#{manageUsersBean.isRendered}" />
	   </t:panelGrid>	
   </ui:composition>
	</body>
 </html>